nom-greedyerror
Custom error type of nom to take a deepest error.
The default error types of nom ( (I, ErrorKind)
and VerboseError
) take a last challenged error at alt
combinator.
Alternatively GreedyError
of nom-greedyerror take a deepest error.
Requirement
nom must be 5.0.0 or later.
Usage
[]
= "0.1.2"
Example
use *;
use alt;
use ;
use ;
use tuple;
use IResult;
use LocatedSpan;
type Span<'a> = ;
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.